package com.kotlin.myapplication.mvp.model

import com.kotlin.myapplication.base.BasePresenter
import com.kotlin.myapplication.base.BaseView
import com.kotlin.myapplication.bean.*

/**
 *@lil
 *@创建时间 2019/11/7 16:56
 *@描述
 */
class RegisterContract {

    interface view : BaseView<registerResult> {

        fun registerSuccess(result: RegisterBean)

        fun error(error: String)
    }

    /**
     * 获取用户数据
     */
    interface registerResult : BasePresenter {
        fun register(telphone: String, encrptPassWord: String, name: String)
    }

}